package com.thd.springboottest.sse.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/sse")
public class SseController {
    @RequestMapping("/index")
    @ResponseBody
    public String index(){
        return "sse/index";
    }
}
